package com.easy.bean;

import java.time.LocalDateTime;

public class Collect {

    private int collectid;

    private int userid;

    private int productid;

    private LocalDateTime collecttime;

    private User user;

    private Product product;

    public int getCollectid() {
        return collectid;
    }

    public void setCollectid(int collectid) {
        this.collectid = collectid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }



    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public LocalDateTime getCollecttime() {
        return collecttime;
    }

    public void setCollecttime(LocalDateTime collecttime) {
        this.collecttime = collecttime;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "collectid=" + collectid +
                ", userid=" + userid +
                ", productid=" + productid +
                ", collecttime=" + collecttime +
                ", user=" + user +
                ", product=" + product +
                '}';
    }
}
